BMI\Plugin\Backup_Migration_Plugin D

Total Complexity 238
Dependencies 9
Dependents 5
Total lines 978
Lines of code 751
Logical lines of code 605
Comment lines 46
Methods 32
Properties 0

Methods 32

Method Rating Maintainability Complexity Lines of code
handle_downloading()
D
17
71 201
initialize()
B
38 24 57
execution_shutdown()
B
40 18 53
handle_cron_backup()
B
38 16 65
ajax()
A
43 15 44
sanitize()
A
52 10 23
fixLitespeed()
S
49 7 30
handle_cron_check()
S
53 7 21
handleErrorDuringBackup()
S
53 7 21
handle_after_cron()
S
51 6 24
revertLitespeed()
S
52 6 23
handle_cron_error()
S
54 6 19
handleErrorDuringRestore()
S
57 5 15
send_notification_mail()
S
54 4 21
enqueue_scripts()
S
60 3 14
backup_inproper_time()
S
57 3 14
admin_notices()
S
61 3 12
humanSize()
S
68 3 5
handle_crons()
S
65 3 8
res()
S
66 3 8
get_next_cron()
S
60 2 13
merge_arrays()
S
72 2 5
fixSlashes()
S
63 2 10
enqueue_styles()
S
71 2 5
admin_init_hook()
S
69 2 7
settings_page()
S
69 2 6
deactivation()
S
76 1 4
submenu()
S
67 1 7
settings_action()
S
71 1 5
set_last_cron()
S
74 1 4
email_error()
S
76 1 4
get_asset()
S
79 1 3